package com.example.train.api.controller.v1;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/v1/index")
public class IndexController {

    @GetMapping
    public ResponseEntity<?> index() {
        return ResponseEntity.ok("server is running.....");
    }

}
